#pragma once

#include "..\..\cz_def.h"

class FileWritter
{
public:
	virtual bool Init(IN stringc& strFile, IN u32 useMemory) = 0;
	virtual void Uninit() = 0;

	virtual bool WriteData(IN u8c* data, IN u32 size) = 0;
	virtual bool Writeu64(IN u64 v) = 0;
	virtual bool Writeu32(IN u32 v) = 0;
	virtual bool Writeu16(IN u16 v) = 0;
	virtual bool Writeu8(IN u8 v) = 0;

	virtual bool ForceToWrite() = 0;
};